package fr.xebia.monitoring.beans.formater;

import java.io.Writer;

import fr.xebia.monitoring.beans.AggregatedMeasure;
import fr.xebia.monitoring.beans.AggregatedMeasures;
import fr.xebia.monitoring.beans.Measure;

public interface MeasureFormater {

	public abstract String format(AggregatedMeasures agregatedMeasures) throws FormaterException;

	public abstract void format(AggregatedMeasures agregatedMeasures, Writer writer) throws FormaterException;

	public abstract String format(AggregatedMeasure measure) throws FormaterException;

	public abstract String format(Measure[] measures) throws FormaterException;

	public abstract void format(Measure[] measures, Writer writer) throws FormaterException;

	public abstract String format(Measure measure) throws FormaterException;
}
